package com.chinacoal.hr.levelapi.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "CCMS-FILEUPLOAD")
public interface FileFeignClient {

    @RequestMapping(value = "/file/downLoadSingleDoc/{url}",method = RequestMethod.POST)
    public ResponseEntity<byte[]> downLoadSingleDoc(@PathVariable("url") String url);

}
